package io.renren.common.utils;

/**
 * @Title: ProjectConstant.java
 * @Description: 项目通用常量
 */
public abstract class ProjectConstant {

	public static final int COMMON_NO = 0;// no
	public static final int COMMON_YES = 1;// yes

	public static final int COMMON_STATUS_DISABLE = 0;// 禁用
	public static final int COMMON_STATUS_ENABLE = 1;// 启用
	public static final int COMMON_STATUS_BLOCKED = 2;// 冻结

	/** 账号认证状态 */
	public static final int AUTH_STATUS_INITIAL = 0;// 未认证
	public static final int AUTH_STATUS_SUBMIT = 1;// 认证中
	public static final int AUTH_STATUS_FAILED = 2;// 未通过
	public static final int AUTH_STATUS_PASSED = 3;// 已认证

	/** 矿工等级 */
	public static final int USER_LEVEL_INITIAL = 0;// 体验矿工
	public static final int USER_LEVEL_NORMAL = 1;// 普通矿工
	public static final int USER_LEVEL_ONE = 2;// 一级矿工
	public static final int USER_LEVEL_TWO = 3;// 二级矿工
	public static final int USER_LEVEL_THREE = 4;// 三级矿工
	public static final int USER_LEVEL_FOUR = 5;// 四级矿工

	/** 挂单状态 */
	public static final int CTOC_ORDER_STATUS_SUBMIT = 0;// 已提交
	public static final int CTOC_ORDER_STATUS_TRADING = 1;// 进行中
	public static final int CTOC_ORDER_STATUS_CANCEL = 2;// 取消
	public static final int CTOC_ORDER_STATUS_FINISH = 3;// 完成

	/** 交易状态 */
	public static final int CTOC_TRANS_STATUS_NEEDPAY = 0;// 待付款
	public static final int CTOC_TRANS_STATUS_PAID = 1;// 已付款
	public static final int CTOC_TRANS_STATUS_CONFIRMED = 2;// 已确认
	public static final int CTOC_TRANS_STATUS_CANCEL = 3;// 取消

	/** 矿机状态 */
	public static final int MACHINE_STATUS_ENABLE = 0;// 上架
	public static final int MACHINE_STATUS_DISABLE = 1;// 下架

	/** 矿机运行状态 */
	public static final int MACHINE_RUNSTATUS_RUNNING = 0;// 运行中
	public static final int MACHINE_RUNSTATUS_FINISH = 1;// 运行结束
	public static final int MACHINE_RUNSTATUS_PAUSE = 2;// 暂停

	/** 矿机类型 */
	public static final int MACHINE_TYPE_MINI = 0;// 微型矿机
	public static final int MACHINE_TYPE_SMALL = 1;// 小型矿机
	public static final int MACHINE_TYPE_MIDSIZE = 2;// 中型矿机
	public static final int MACHINE_TYPE_LARGE = 3;// 大型矿机
	public static final int MACHINE_TYPE_HUGE = 4;// 巨型矿机
	public static final int MACHINE_TYPE_FAST = 5;// 速型矿机

	/**
	 * 伞下会员级别
	 */
	public static final int REC_LEVEL_ONE = 1;// 直推
	public static final int REC_LEVEL_TWO = 2;// 二级
	public static final int REC_LEVEL_THREE = 3;// 三级

	/**
	 * 短信验证码类型
	 */
	public static final int PHONECODE_TYPE_REG = 0;// 注册
	public static final int PHONECODE_TYPE_FORGOT_PWD = 1;// 找回密码

	/** 文件上传类型 */
	public static final int UPLOAD_TYPE_HEAD = 0;// 用户头像
	public static final int UPLOAD_TYPE_IDFRONT = 1;// 身份证正面
	public static final int UPLOAD_TYPE_IDBACK = 2;// 身份证反面
	public static final int UPLOAD_TYPE_ALIPAY = 3;// 支付宝收款码
	public static final int UPLOAD_TYPE_WECHAT = 4;// 微信收款码
	public static final int UPLOAD_TYPE_TRANS_PROOF = 5;// 交易凭证
}
